<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <meta name="ROBOTS" content="NOODP" />
  <meta name="viewport" content="initial-scale=1" />
  <%#
    Configure default and controller-, and view-specific titles in
    config/locales/en.yml. For more see:
    https://github.com/calebthompson/title#usage
  %>
  <title><%= title %></title>
  <%= stylesheet_link_tag "//fonts.googleapis.com/css?family=Lato:300,400,900", media: "all" %>
  <%= stylesheet_link_tag :application, media: "all" %>
  <%= csrf_meta_tags %>
</head>

<body class="<%= body_class %>">
  <main class="main">
    <div class="sidebar">
      <%= render "sidebar" -%>
    </div>

    <div class="content">
      <%= render "flashes" -%>

      <%= yield %>

      <%= render "javascript" %>
    </div>
  </main>
</body>
</html>
